
//****************************************************************************************************************
	        
	        function checkForm(name_form) 
	        {
	            var f = document.forms[name_form];
	            if(!f) {
	                alert('Wrong form!');
		            return false;
	            }
	
	            err = '';
	            if(f.elements['fname'].value == '') 
	            {
	                err += "\n\tType your name";
	            }
	
			    var re = new RegExp("^[a-zA-Z]+[0-9a-zA-Z_]+@[0-9a-zA-Z]+[\.][a-zA-Z]+$");
			    if(re.exec(f.email.value) == null)
			    {
	                	err += "\n\tWrong value for Email";
			    }
	
				if('' == f.elements['lname'].value) 
				{
			        err += "\n\tType your last name";
				}
				
			  

	            if(f.elements['question'].value == '') 
	            {
	                err += "\n\tType your message";
	            }


	            if(err != '') 
	            {
	                alert("You haven't fill all required fields:\n"+err);
	                return false;
	            }
	            return true;
	        }
